set pv guest default video_memkb to 0
authorZhigang Wang <zhigang.x.wang@oracle.com>
Tue, 18 Nov 2014 20:57:08 +0000 (15:57 -0500)
committerIan Campbell <ian.campbell@citrix.com>
Fri, 28 Nov 2014 11:23:58 +0000 (11:23 +0000)
commit188336bb86d0992a2a034ece5f39eccc5d10f337
tree406c11a1c0656fb1f3d9143bb83ab03106235f02
parent412f0e6401d9d87298b9bba3bfbe8ec899429a2c
set pv guest default video_memkb to 0

Before this patch, pv guest video_memkb is -1, which is an invalid value.
And it will cause the xenstore 'memory/targe' calculation wrong:

    memory/target = info->target_memkb - info->video_memkb

Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
tools/libxl/libxl_create.c